package com.gidgabs.modules.api.service.impl;

import com.gidgabs.modules.api.service.TbAliyunVideoService;
import com.gidgabs.modules.dao.TbAliyunVideoDao;
import com.gidgabs.modules.entity.TbAliyunVideoEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class TbAliyunVideoServiceImpl implements TbAliyunVideoService {

	@Autowired
	private TbAliyunVideoDao aliyunVideoDao;
	
	@Override
	public TbAliyunVideoEntity queryObject(Integer id){
		return aliyunVideoDao.queryObject(id);
	}
	
	@Override
	public List<TbAliyunVideoEntity> queryList(Map<String, Object> map){
		return aliyunVideoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return aliyunVideoDao.queryTotal(map);
	}
	
	@Override
	public void save(TbAliyunVideoEntity aliyunVideo){
		aliyunVideoDao.save(aliyunVideo);
	}
	
	@Override
	public void update(TbAliyunVideoEntity aliyunVideo){
		aliyunVideoDao.update(aliyunVideo);
	}
	
	@Override
	public void delete(Integer id){
		aliyunVideoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		aliyunVideoDao.deleteBatch(ids);
	}
	
}
